package com.igeek.car.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 退票记录表
 * </p>
 *
 * @author Suzi
 * @since 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("refunds")
@ApiModel(value="Refunds对象", description="退票记录表")
public class Refunds implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "退票ID，主键，自增")
    @TableId(value = "RefundID", type = IdType.AUTO)
    private Integer RefundID;

    @ApiModelProperty(value = "关联的订单ID")
    @TableField("OrderID")
    private Integer OrderID;

    @ApiModelProperty(value = "退票日期")
    @TableField("RefundDate")
    private LocalDateTime RefundDate;

    @ApiModelProperty(value = "退票原因")
    @TableField("Reason")
    private String Reason;


}
